

void initializeCPU()
{
 	OSCCONbits.SCS0 = 0;
    OSCCONbits.SCS1 = 1; 
    OSCCONbits.IRCF0 = 1;
    OSCCONbits.IRCF1 = 1;
    OSCCONbits.IRCF2 = 1;

    OSCCONbits.IDLEN = 0;

	TRISD=0X00;
	TRISC=0xFF;
	TRISB=0xFF;
	CMCON=0;
}
	